package com.starlink.model.request.save;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("商品收藏请求模型")
public class UserProductCollectSaveRequest implements Serializable {
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("商品id")
    private Long productId;
    @ApiModelProperty("名称")
    private String title;
    @ApiModelProperty("封面")
    private String picture;
    @ApiModelProperty("商品类型 1书籍  2周边")
    private Integer productType;
}